Fix bug #321560, based on a patch by Bogdan Nicula (bogdanni@hotmail.com):
authorFederico Mena Quintero <federico@ximian.com>
Mon, 28 Nov 2005 22:25:03 +0000 (22:25 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Mon, 28 Nov 2005 22:25:03 +0000 (22:25 +0000)
commit4ac1632f10d9b8bea9825d409018540856d0c87c
treecf49a6ad6c8a33b931845f5740fcbc775172ac46
parent5eb2aac9474e1e8d035af1cbb4bc6756539af335
Fix bug #321560, based on a patch by Bogdan Nicula (bogdanni@hotmail.com):

2005-11-28  Federico Mena Quintero  <federico@ximian.com>

Fix bug #321560, based on a patch by Bogdan Nicula (bogdanni@hotmail.com):

* gtk/gtkfilechooserdefault.c (up_folder_handler): Don't add the
current_folder to the pending select paths here; the path bar will
give it to us now.
(path_bar_clicked): Add the child_path to the pending select paths
here.
(show_and_select_paths): Don't filter out folders.
(show_and_select_paths): Don't take separate arguments for
only_one_path and multiple paths.

* tests/autotestfilechooser.c (test_folder_switch_and_filters):
New test about preserving the filters when we change folders.
ChangeLog
ChangeLog.pre-2-10
gtk/gtkfilechooserdefault.c
tests/autotestfilechooser.c
tests/file-chooser-test-dir/empty [new file with mode: 0644]
tests/file-chooser-test-dir/text.txt [new file with mode: 0644]